package com.bootdo.jiashan.service;

import com.bootdo.jiashan.domain.SupplyProductDO;
import com.bootdo.jiashan.model.SupplyProductModel;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author hejinen
 * @email 1992lcg@163.com
 * @date 2019-05-14 23:39:41
 */
public interface SupplyProductService {
	
	SupplyProductDO get(Integer id);
	
	List<SupplyProductModel> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(SupplyProductDO supplyProduct) throws IllegalAccessException;
	
	int update(SupplyProductDO supplyProduct);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	XSSFWorkbook exportExcel(Map<String, Object> map);
}
